package com.wjf.shortlink.shortlink.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjf.shortlink.shortlink.dao.entity.ShortLinkDAO;
import com.wjf.shortlink.shortlink.dto.req.ShortLinkPageReqDTO;
import com.wjf.shortlink.shortlink.dto.req.ShortLinkRecycleBinPageReqDTO;

//短链接持久层
public interface ShortLinkMapper extends BaseMapper<ShortLinkDAO> {
    //分页查询短链接
    IPage<ShortLinkDAO> pageLink(ShortLinkPageReqDTO requestParam);

    //分页统计回收站短链接
    IPage<ShortLinkDAO> pageRecycleBinLink(ShortLinkRecycleBinPageReqDTO requestParam);
}
